package com.hkp.white.system.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hkp.white.system.dao.UserMapper;
import com.hkp.white.system.domain.User;
import com.hkp.white.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userService")
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {

    @Autowired
    public UserMapper userMapper;

    @Override
    public List<User> findUserList(User user) {
        return  userMapper.selectList(user);
    }

}
